home *** CD-ROM | disk | FTP | other *** search
-
- // JavaScript wrapper for r3guitab.h
- // Auto generated file, do not modify by hand
- // Copyright ⌐ 2004, Realsoft Graphics Oy
-
- var R3_GUITAB_H = 1;
- include("real/gadget/r3mantab.js")
-
-
- var R3CLID_GUITAB = 1868;
-
-
-
-
- // Description: Adds a tab
- // Returns: Object, the droptarget window in the newly added tab
- // p1: Integer, index of the new tab
- // p3: String, label for the new tab
-
- R3GUITABM_ADDTAB = 1868000;
-
- function mR3GUITABM_ADDTAB(p1, p3) {
- return R3ToJS( DoA2(this.r3obj, 1868000, p1, R3TID_INTEGER, 0, p3, R3TID_STRING, 0));
- }
-
- // Returns: Boolean, TRUE if successful
- // p3: Integer, index of the tab to delete
-
- R3GUITABM_DELETETABBYINDEX = 1868001;
-
- function mR3GUITABM_DELETETABBYINDEX(p3) {
- return DoA(this.r3obj, 1868001, p3, R3TID_INTEGER, 0);
- }
-
- // Returns: Boolean, TRUE if successful
- // p3: String, label of the tab to delete
-
- R3GUITABM_DELETETABBYLABEL = 1868002;
-
- function mR3GUITABM_DELETETABBYLABEL(p3) {
- return DoA(this.r3obj, 1868002, p3, R3TID_STRING, 0);
- }
-
- // Description: See if the given tab already exist and return the window associated with it.
- // Returns: Object, window corresponding the tab
- // p3: String, tab label
-
- R3GUITABM_FINDTAB = 1868003;
-
- function mR3GUITABM_FINDTAB(p3) {
- return R3ToJS( DoA(this.r3obj, 1868003, p3, R3TID_STRING, 0));
- }
-
-
-
-
-
-
- function r3Guitab () {
- this.base = r3God;
- if(arguments.length) {
- this.base(R3CLID_GUITAB, arguments);
- }
- // Methods
- this.ADDTAB=mR3GUITABM_ADDTAB;
- this.DELETETABBYINDEX=mR3GUITABM_DELETETABBYINDEX;
- this.DELETETABBYLABEL=mR3GUITABM_DELETETABBYLABEL;
- this.FINDTAB=mR3GUITABM_FINDTAB;
-
- // Attributes
- }
-
- r3Guitab.prototype=new r3Managedtabbed;
- // r3guitab.h_H